home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 August (Alt)
/
CHIP 2005-08.1.iso
/
program
/
guvenlik
/
syslinux-3.07.exe
/
com32
/
lib
/
creat.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
2004-11-10
|
190 b
|
13 lines
/*
* creat.c
*/
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
int creat(const char *pathname, mode_t mode)
{
return open(pathname, O_CREAT|O_WRONLY|O_TRUNC, mode);
}